using System.Configuration;

namespace TodoLister.Properties
{
    /// <summary>
    /// 应用程序设置类
    /// </summary>
    internal sealed partial class Settings : ApplicationSettingsBase
    {
        /// <summary>
        /// 窗口左侧位置
        /// </summary>
        [UserScopedSetting()]
        [DefaultSettingValue("-1")]
        public double WindowLeft
        {
            get
            {
                return ((double)(this["WindowLeft"]));
            }
            set
            {
                this["WindowLeft"] = value;
            }
        }

        /// <summary>
        /// 窗口顶部位置
        /// </summary>
        [UserScopedSetting()]
        [DefaultSettingValue("-1")]
        public double WindowTop
        {
            get
            {
                return ((double)(this["WindowTop"]));
            }
            set
            {
                this["WindowTop"] = value;
            }
        }
    }
} 